﻿using System;


namespace OopDemo
{
    /// <summary>
    /// 矩形
    /// </summary>
    public class Rectangle : Quadrilatera
    {
        


        /// <summary>
        /// 
        /// </summary>
        public override void DrawSelf()
        {
            Console.WriteLine("矩形");
            for (var i = 0; i < Height; i++)
            {
                for (int j = 0; j < Width ; j++)
                {
                    Console.Write("H");
                }
                Console.WriteLine();
            }
        }
    }
}
